package com.zheng.study.web.shiro.realm;

import java.util.Map;

/**
 * 白名单Token
 * ============================================================================
 * author : fallenpanda
 * createDate:  2018/8/17 。
 * ============================================================================
 */
public class StatelessWhiteListToken extends StatelessBaseToken {
	private static final long serialVersionUID = -3177110110347940277L;

	private String appId;
	private Map<String, String> params;
	private String appSign;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public Map<String, String> getParams() {
		return params;
	}

	public void setParams(Map<String, String> params) {
		this.params = params;
	}

	public String getAppSign() {
		return appSign;
	}

	public void setAppSign(String appSign) {
		this.appSign = appSign;
	}

	public Object getPrincipal() {
		return appId;
	}

	public Object getCredentials() {
		return appSign;
	}
}
